%li
  .form.filter.small.box.light-gray
    %h2 Поиск
    = form_for [:documents,  @search], :html => {:remote => true} do |f|
      %div
        = f.text_field :document_title_contains, :placeholder => "название содержит..."
      %div
        = f.text_field :document_body_contains, :placeholder => "тело содержит..."
      %div
        = f.select :document_tags_label_eq, options_for_select(tags_for_select @doc_type_tags), :prompt => "- ключевое слово -"
      %div
        = f.select :document_created_at_greater_than, options_for_select(durations_for_select), :prompt => "- дата публикации -"
      .actions
        = f.submit "Фильтр", :class => "btn primary small show-loader"
      = ajax_loader
